import request from '../http/index'
// 登录
export function login(data) {
    return request({
      url: '/login',
      method: 'POST',
      data
    })
  }
  // 注册
  export function create(data) {
    return request({
      url: '/loginCreat',
      method: 'POST',
      data
    })
  }